package cn.group.service;

import cn.group.domain.TeachInfo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface TeachInfoService {
    List<TeachInfo>getAll();//查询所有
    PageInfo<TeachInfo>getTeachInfoByPage(Integer currentPage,Integer pagesize);//分页查询所有
    TeachInfo getOneById(Integer id);//根据id查找一个
    boolean modifyOne(TeachInfo teachInfo);
    boolean addOne(TeachInfo teachInfo);
}
